/*
 * PanelResultadoAplicarAlgoritmo.java
 *
 * Created on 17 de septiembre de 2008, 22:43
 */

package gui;

/**
 *
 * @author  demian
 */
public class PanelResultadoAplicarAlgoritmo extends javax.swing.JPanel {
    
    /** Creates new form PanelResultadoAplicarAlgoritmo */
    public PanelResultadoAplicarAlgoritmo() {
        initComponents();
    }
    
    public PanelResultadoAplicarAlgoritmo(String resultado) {
        this();
        this.jTextArea.setText(resultado);
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPaneArea = new javax.swing.JScrollPane();
        jTextArea = new javax.swing.JTextArea();

        jTextArea.setColumns(20);
        jTextArea.setEditable(false);
        jTextArea.setLineWrap(true);
        jTextArea.setRows(5);
        jTextArea.setRequestFocusEnabled(false);
        jScrollPaneArea.setViewportView(jTextArea);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPaneArea, javax.swing.GroupLayout.PREFERRED_SIZE, 362, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPaneArea, javax.swing.GroupLayout.PREFERRED_SIZE, 127, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
    }// </editor-fold>//GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPaneArea;
    private javax.swing.JTextArea jTextArea;
    // End of variables declaration//GEN-END:variables
    
}
